package com.swallowtech.mysnscore.entity;

import java.io.Serializable;
import java.sql.Timestamp;

public class Comment implements Serializable{

	private static final long serialVersionUID = 1454566575866123074L;
	// attributes
	private String id;
	private String name;
	private String email;
	private String url;
	private String content;
	private Timestamp postTime;
	// private String status = APPROVED;
	private String remoteHost;
	private String referrer;
	private String userAgent;

	// associations
	private SNSEntry entry;
	private Comment replyComment;
	

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}
	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}
	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}
	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * @return the postTime
	 */
	public Timestamp getPostTime() {
		return postTime;
	}
	/**
	 * @param postTime the postTime to set
	 */
	public void setPostTime(Timestamp postTime) {
		this.postTime = postTime;
	}
	/**
	 * @return the remoteHost
	 */
	public String getRemoteHost() {
		return remoteHost;
	}
	/**
	 * @param remoteHost the remoteHost to set
	 */
	public void setRemoteHost(String remoteHost) {
		this.remoteHost = remoteHost;
	}
	/**
	 * @return the referrer
	 */
	public String getReferrer() {
		return referrer;
	}
	/**
	 * @param referrer the referrer to set
	 */
	public void setReferrer(String referrer) {
		this.referrer = referrer;
	}
	/**
	 * @return the userAgent
	 */
	public String getUserAgent() {
		return userAgent;
	}
	/**
	 * @param userAgent the userAgent to set
	 */
	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}
	/**
	 * @return the entry
	 */
	public SNSEntry getEntry() {
		return entry;
	}
	/**
	 * @param entry the entry to set
	 */
	public void setEntry(SNSEntry entry) {
		this.entry = entry;
	}
	/**
	 * @return the replyComment
	 */
	public Comment getReplyComment() {
		return replyComment;
	}
	/**
	 * @param replyComment the replyComment to set
	 */
	public void setReplyComment(Comment replyComment) {
		this.replyComment = replyComment;
	}	

}
